package com.sicnu.cheer.generalmodule.bean;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;
import cn.bmob.v3.datatype.BmobRelation;

/**
 * Created by cheer on 2017/2/18.
 * 活动实体类
 */

public class EventBean extends BmobObject {
    private MyUser author;//活动发起者
    private LeagueBean league;//活动发起社团
    private String title;//活动标题
    private String content;//活动内容
    private String imageUrl;//图片附件
    private Integer views;//浏览次数
    private Boolean isOn;//活动开启状态
    private BmobRelation likes;//喜欢并表示参与的人
    private Integer likesInt;

    public MyUser getAuthor() {
        return author;
    }

    public void setAuthor(MyUser author) {
        this.author = author;
    }

    public LeagueBean getLeague() {
        return league;
    }

    public void setLeague(LeagueBean league) {
        this.league = league;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }

    public BmobRelation getLikes() {
        return likes;
    }

    public void setLikes(BmobRelation likes) {
        this.likes = likes;
    }

    public Integer getLikesInt() {
        return likesInt;
    }

    public void setLikesInt(Integer likesInt) {
        this.likesInt = likesInt;
    }

    public Boolean getOn() {
        return isOn;
    }

    public void setOn(Boolean on) {
        isOn = on;
    }
}
